#
# HoI - USSR Events
#
#		written by Henrik Fhraeus
#

#########################################################################
#  The Molotov-Ribbentrop Pact - Historical Pact
#########################################################################
event = {
	id = 2600
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2600_NAME"
	desc = "EVT_2600_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2600A" # A Most Excellent Proposition
		command = { type = trigger which = 2013 } # GER


		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 711 } # Memel - new one!
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
#		command = { type = addcore which = 763 } # moved to Bessarabia event
#		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
		command = { type = addcore which = 821 }
	}
	action_b = {
		name = "ACTIONNAME2600B" # No deals with the enemies of the Workers!
		command = { type = trigger which = 2014 } # GER

	}
	action_c = {
		name = "ACTIONNAME2600C" # Propose an unholy alliance
		command = { type = trigger which = 2015 } # GER
	}
}


#########################################################################
#  The Molotov-Ribbentrop Pact - Limited Pact
#########################################################################
event = { 
	id = 2601
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2601_NAME"
	desc = "EVT_2601_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2601A" # Acceptable, but just barely
		command = { type = trigger which = 2016 } # GER
	}
	action_b = {
		name = "ACTIONNAME2601B" # No deals with the enemies of the Workers!
		command = { type = trigger which = 2017 } # GER
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Full Alliance
#########################################################################
event = { 
	id = 2602
	random = no
	country = SOV
	
	# Triggered by GER 2015
	
	name = "EVT_2602_NAME"
	desc = "EVT_2602_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Let the world tremble!
		
		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
		command = { type = addcore which = 821 }
		command = { type = dissent value = 10 }
		command = { type = alignment which = communist value = -40 }
		command = { type = alignment which = fascist value = 40 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - No Full Alliance
#########################################################################
event = { 
	id = 2603
	random = no
	country = SOV
	
	# Triggered by GER 2015
	
	name = "EVT_2603_NAME"
	desc = "EVT_2603_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Too bad
		
		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
		command = { type = addcore which = 821 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Eastern Poland to USSR
#########################################################################
event = { 
	id = 2604
	random = no
	country = SOV
	
	# Triggered by GER 2018
	
	name = "EVT_2604_NAME"
	desc = "EVT_2604_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Great!
		command = { type = dissent value = -5 }
		command = { type = oilpool value = -2000 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Germany dishonors the pact
#########################################################################
event = { 
	id = 2605
	random = no
	country = SOV
	
	# Triggered by GER 2018
	
	name = "EVT_2605_NAME"
	desc = "EVT_2605_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2605A" # We shall never forget this!
		command = { type = dissent value = 5 }
		#	command = { type = hate which = GER value = 15 } #TODO_add the commands and system#
	}
	action_b = {
		name = "ACTIONNAME2605B" # This means war!
		command = { type = war which = GER }
		command = { type = dissent value = -10 }
	}
}
#########################################################################
#  Claim Bessarabia
#########################################################################
event = { 
	id = 2606
	random = no
	country = SOV
	
	trigger = {
		event = 2604 # Eastern Poland has been given to the USSR
		OR = { 
			event = 2013  # Bessarabia recognized as Soviet territory by Germany
			event = 2015
		}
		exists = ROM
		NOT = {
			OR = {
				war = { country = ROM country = SOV }
				war = { country = GER country = SOV }
			}
		}
		NOT = {
			control = { province = 767 data = SOV }  
			control = { province = 763 data = SOV }  
		}
	}
	
	name = "EVT_2606_NAME"
	desc = "EVT_2606_DESC"
	style = 0
	
	date = { day = 26 month = june year = 1940 }
	
	action_a = {
		name = "ACTIONNAME2606A" # Claim Bessarabia
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		command = { type = trigger which = 2700 } # ROM
	}
	action_b = {
		name = "ACTIONNAME2606B" # The Romanians are our friends
		command = { }
	}
}
#########################################################################
#  Claim Bessarabia - Done
#########################################################################
event = { 
	id = 2607
	random = no
	country = SOV
	
	# Triggered by ROM 2700
	
	name = "EVT_2607_NAME"
	desc = "EVT_2607_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { }
	}
}
#########################################################################
#  Claim Bessarabia - the Romanians Fight!
#########################################################################
event = { 
	id = 2608
	random = no
	country = SOV
	
	# Triggered by ROM 2700
	
	name = "EVT_2608_NAME"
	desc = "EVT_2608_DESC"
	style = 0
	
	action_a = {
		name = "OK" # They will rue this day...
		command = { }
	}
}
#########################################################################
# The Great Officer Purge Begins (modded by Copper Nicus)
#########################################################################
event = { 
	id = 2609
	random = no
	country = SOV

	name = "EVT_2609_NAME"
	desc = "EVT_2609_DESC"
	style = 0

date = { day = 1 month = march year = 1937 }

action_a = {
	name = "ACTIONNAME2609A" # Purge the traitors!
	command = { type = sleepleader which = 10252 } # Tuchaczevsky
	command	= { type = sleepminister which = 4007 } # Tuchaczevsky minister
	command = { type = sleepleader which = 10138 } # Primakov
	command = { type = sleepleader which = 9889 } # Egorov
	command	= { type = sleepleader which = 10255 } # Uborevitch
	command = { type = sleepleader which = 10275 } # Yakir 
	command = { type = sleepleader which = -2 }
	command	= { type = sleepleader which = -2 }
	command = { type = sleepleader which = -2 }
	command = { type = sleepleader which = -2 }
	command = { type = manpowerpool value = -20 } 
	command = { type = sleepevent which = 652008 } # Benes warns Stalin
	}
action_b = {
	name = "ACTIONNAME2609B" # No need for brutality
	command = { type = dissent value = 10 }
	command = { type = sleepevent which = 652008 } # Benes warns Stalin
	}
}

#########################################################################
#  The Great Officer Purge
#########################################################################
event = { 
	id = 2610
	random = no
	country = SOV
	
	name = "EVT_2610_NAME"
	desc = "EVT_2610_DESC"
	style = 0
	
	date = { day = 1 month = june year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2610A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -10 }
	}
	action_b = {
		name = "ACTIONNAME2610B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}
#########################################################################
#  The Great Officer Purge
#########################################################################
event = { 
	id = 2611
	random = no
	country = SOV
	
	name = "EVT_2611_NAME"
	desc = "EVT_2611_DESC"
	style = 0
	
	date = { day = 1 month = august year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2611A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -10 }
	}
	action_b = {
		name = "ACTIONNAME2611B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}
#########################################################################
#  The Great Officer Purge
#########################################################################
event = { 
	id = 2612
	random = no
	country = SOV
	
	name = "EVT_2612_NAME"
	desc = "EVT_2612_DESC"
	style = 0
	
	date = { day = 1 month = november year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2612A" # Purge the traitors!
		command = { type = sleepleader which = 10215 } # Shtern
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -10 }
	}
	action_b = {
		name = "ACTIONNAME2612B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}

#########################################################################
#
# event 2620 modified -> core_USSR.txt
#
#########################################################################

#########################################################################
#  The Finnish Winter War - Demands rejected
#########################################################################
event = { 
	id = 2621
	random = no
	country = SOV
	
	# Triggered by FIN 3200
	
	name = "EVT_2621_NAME"
	desc = "EVT_2621_DESC"
	style = 0
		
	action_a = {
		name = "OK" # This means War!
		command = { type = war which = FIN }
	}
}

#########################################################################
#  The Finnish Winter War - Finland gives in
#########################################################################
event = { 
	id = 2622
	random = no
	country = SOV
	
	# Triggered by FIN 3200
	
	name = "EVT_2622_NAME"
	desc = "EVT_2622_DESC"
	style = 0
		
	action_a = {
		name = "OK" # Excellent!
		command = { type = influence value = 3 }
		command = { type = trigger which = 1002037 } # added in v0.6
		}
}

#########################################################################
#  Spanish Civil War - Intervention
#########################################################################
event = { 
	id = 2623
	random = no
	country = SOV
	
	# Triggered by SPA 3001
	
	name = "EVT_2623_NAME"
	desc = "EVT_2623_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2623A" # Send materiel and volunteers
		command = { type = manpowerpool value = -30 }
		command = { type = supplies value = -2500 }
		command = { type = trigger which = 3102 } #SPR
		command = { type = trigger which = 3721 } #USA
	}
	action_b = {
		name = "ACTIONNAME2623B" # Why support anarchist rabble?
		command = { type = dissent value = 5 }
	}
}

#########################################################################
#  Sue for peace with the Germans
#########################################################################
### DELETED event id = 2624

#########################################################################
#  Sue for peace with the Germans (Japan wants a bigger slice)
#########################################################################
### DELETED event id = 2645

##########################################################################
#  The Bitter Peace - Japan is not Axis
##########################################################################
### DELETED event id = 2625

#############################################################################
#  The Bitter Peace - Japan is Axis (and thus get a bigger slice)
#############################################################################
### DELETED event id = 2646

#########################################################################
#  A Lend-Lease Shipment Arrives from the USA
#########################################################################
event = {
	id = 2626
	random = no
	country = SOV
	persistent = yes
	
	# Triggered by USA 3703. NOTE: May be triggered several times.
	
	name = "EVT_2626_NAME"
	desc = "EVT_2626_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 10000 }
		command = { type = rubberpool value = 6000 }
		command = { type = steelpool value = 6000 }
		command = { type = coalpool value = 6000 }
	}
}

#########################################################################
#  Germany Invades Poland without our Blessing!
#########################################################################
event = { 
	id = 2650
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2650_NAME"
	desc = "EVT_2650_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2650A" # We shall never forget this!
		command = { type = dissent value = 10 }
		#	command = { type = hate which = GER value = 15 } #TODO_add the commands and system#
	}
	action_b = {
		name = "ACTIONNAME2650B" # This means war!
		command = { type = war which = GER }
	}
}

